package com.oauth2.service.impl;

import com.oauth2.domain.TbUser;
import com.oauth2.mapper.TbUserMapper;
import com.oauth2.service.TbUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TbUserServiceImpl implements TbUserService {

    @Autowired
    private TbUserMapper tbUserMapper;

    @Override
    public TbUser selectOneByUser(String username) {
        return tbUserMapper.selectOneByUser(username);
    }
}
